def profit(place_all: int, price: int) -> int:
    place_2 = place_all*(3/4)
    place_1 = place_all*(1/4)
    place_price_1 = place_1 * price*2
    place_price_2 = place_2 * price
    money = place_price_1 + place_price_2
    print(money)
    return money

assert profit(120, 10000) == 1500000
assert profit(220, 15000) == 4125000
assert profit(500, 12500) == 7812500